package mspbots.data.tl.script.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import mspbots.data.tl.entity.BaseTenantEntity;

import java.time.LocalDateTime;

/**
 * com.mspbots.modules.sys.entity.SysDataset
 * @auth Jason
 * @date 2020/7/17 15:56
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dataset")
public class SysDataset extends BaseTenantEntity {

    public static final String REFRESH_TYPE_SQL="sql";
    public static final String REFRESH_TYPE_GROOVY="groovy";
    public static final String REFRESH_TYPE_VIEW="view";
    public static final String REFRESH_TYPE_MATERIALIZEDVIEW="materializedview";

    private String refreshContent;
    private String refreshType;
    private LocalDateTime refreshTime;

}
